import request from '@/utils/request'

export function getOperateDetails(params: any) {
  return request({
    url: '/store/OperateDetails',
    method: 'get',
    params,
  })
}

export function GETaskSubmitList(data: any) {
  return request({
    url: '/Worktask/TaskSubmitList',
    method: 'post',
    data,
  })
}

export function getOrderTaskSetList(data: any) {
  return request({
    url: '/Worktask/OrderTaskSetList',
    method: 'post',
    data,
  })
}

export function saveTaskSubmit(data: any) {
  return request({
    url: '/Worktask/saveTaskSubmit',
    method: 'post',
    data,
  })
}

export function TaskSubmitFinish(data: any) {
  return request({
    url: '/Worktask/TaskSubmitFinish',
    method: 'post',
    data,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/store/details/doEdit',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/store/details/doDelete',
    method: 'post',
    data,
  })
}
